import components.Notifications;

import dataObjects.User;

import mx.collections.ArrayCollection;
import mx.core.FlexGlobals;
import mx.rpc.remoting.RemoteObject;

public function _User():User{
	return Collectomania(FlexGlobals.topLevelApplication)._user;
}


public function _ActiveAlbums():ArrayCollection{
	return Collectomania(FlexGlobals.topLevelApplication)._activeAlbums;
}

public function _API():RemoteObject{
	return  Collectomania(FlexGlobals.topLevelApplication).uiController;
}

public function _Alert(txt:String):void{
	Collectomania(FlexGlobals.topLevelApplication).mainMenu.notificationsArea.addNotification(txt);
	return;
}